package com.example.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.shop.pojo.UserBrowseHistory;
import com.example.shop.pojo.UserMerchantCollection;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMerchantCollectionMapper extends BaseMapper<UserMerchantCollection> {
    @Select("select * from r_user_merchant_collection where user_id=#{userId}")
    List<UserMerchantCollection> selectByUserId(@Param("userId") Long userId);
}
